﻿<UserControl x:Class="SomethingSpacial.Views.Default.RSS"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:cc="clr-namespace:SomethingSpacial.CustomControls">
    <Grid x:Name="LayoutRoot" MouseLeftButtonUp="LayoutRoot_MouseLeftButtonUp" Cursor="Hand" >
        <Grid.RowDefinitions>
            <RowDefinition Height="20" />
            <RowDefinition />
        </Grid.RowDefinitions>
        <TextBlock x:Name="DisplayTitleTarget" Grid.Row="0" HorizontalAlignment="Left" FontFamily="Verdana" FontSize="14" Foreground="#FF00C7FF" />
        <cc:FX AutoFlip="False" Grid.Row="1" Flip="True" x:Name="Flipper" >
            <cc:FX.Front>
                <Grid >
                    <Rectangle Opacity="1" Fill="White" RadiusX="10" RadiusY="10"/>
                    <ItemsControl x:Name="FeedList" Visibility="Visible" Margin="10,10,30,20" >
                        <ItemsControl.ItemTemplate>
                            <DataTemplate>
                                <StackPanel Margin="0 0 0 5">
                                    <TextBlock x:Name="FeedItemTitle" FontFamily="Verdana" FontSize="13" Foreground="#FF5FA700" 
                                       Text="{Binding Title.Text}" TextAlignment="Left" TextWrapping="Wrap"/>
                                    <TextBlock x:Name="FeedSlideAgo" Opacity="1" FontFamily="Verdana" FontSize="10" Foreground="#FF61655D" 
                                       Text="{Binding PublishDate.LocalDateTime}" TextAlignment="Left" TextWrapping="Wrap" Height="17"/>
                                    <TextBlock x:Name="FeedMsg" Opacity="1" FontFamily="Verdana" FontSize="10" Foreground="#FF61655D" 
                                       Text="{Binding Summary.Text}" TextAlignment="Left" TextWrapping="Wrap"/>
                                </StackPanel>
                            </DataTemplate>
                        </ItemsControl.ItemTemplate>
                    </ItemsControl>
                    <TextBlock x:Name="MoreTxtBlck" Text="More..." HorizontalAlignment="Right" VerticalAlignment="Bottom" Grid.Row="1" FontFamily="Verdana" FontSize="10" Foreground="#FF00C7FF" 
                        Visibility="Collapsed" Margin="0 0 5 0" MouseLeftButtonUp="MoreTxtBlck_MouseLeftButtonUp" />
                </Grid>
            </cc:FX.Front>
            <cc:FX.Back>
                <Grid>
                    <Rectangle Opacity="1" Fill="White" RadiusX="10" RadiusY="10"/>

                    <ScrollViewer Margin="10 10 10 15" HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Visible" >
                        <ItemsControl x:Name="FeedList2" Visibility="Visible" Margin="10,10,30,10" >
                            <ItemsControl.ItemTemplate>
                                <DataTemplate>
                                    <StackPanel Margin="0 0 0 5">
                                        <TextBlock x:Name="FeedItemTitle2" FontFamily="Verdana" FontSize="13" Foreground="#FF5FA700" 
                                       Text="{Binding Title.Text}" TextAlignment="Left" TextWrapping="Wrap"/>
                                        <TextBlock x:Name="FeedSlideAgo2" Opacity="1" FontFamily="Verdana" FontSize="10" Foreground="#FF61655D" 
                                       Text="{Binding PublishDate.LocalDateTime}" TextAlignment="Left" TextWrapping="Wrap" Height="17"/>
                                        <TextBlock x:Name="FeedMsg2" Opacity="1" FontFamily="Verdana" FontSize="10" Foreground="#FF61655D" 
                                       Text="{Binding Summary.Text}" TextAlignment="Left" TextWrapping="Wrap"/>
                                    </StackPanel>
                                </DataTemplate>
                            </ItemsControl.ItemTemplate>
                        </ItemsControl>
                    </ScrollViewer>

                    <TextBlock x:Name="FrontTxtBlck" Text="Front..." HorizontalAlignment="Right" VerticalAlignment="Bottom" Grid.Row="1" FontFamily="Verdana" FontSize="10" Foreground="#FF00C7FF" 
                        Visibility="Collapsed" Margin="0 0 5 0" MouseLeftButtonUp="MoreTxtBlck_MouseLeftButtonUp" />
                </Grid>
            </cc:FX.Back>
        </cc:FX>
    </Grid>
</UserControl>
